import request from '@/utils/request';

export async function sysLogin(params) {
    return request('/api/Auth/Login', {
        method: 'post',
        data: params,
    })
}

export async function imgcode(params) {
    return request('/api/Auth/imgcode', {
        method: 'post',
        data: params,
    })
}

export async function queryCurrent() {
    return request('/api/Auth/currentUser', {
        method: 'post',
    })
}